/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.gov.cemaden.library.interfaces.smp;

import br.gov.cemaden.library.model.smp.WhoSys;
import java.util.List;

/**
 *
 * @author paulo.dias
 */
public interface WhoSysInterface {
    List<WhoSys>findAll();
    WhoSys findById(Long id);
    WhoSys findByHostName(String hn);
    WhoSys findByHostAddress(String host);
    WhoSys findByHostAddressAndHostName(String hostAddress, String hostName);
    
    void insert(WhoSys whoSys);
    void update(WhoSys whoSys);
    void delete(WhoSys whoSys);    
}
